<?php
namespace Admin\Controller;
use Think\Controller;
class SignupController extends CommonController {
    public function index(){
        $this->display();
    }
    public function signup(){
    	$db=D('login');
    	$data=$db->create();
    	if ($data==true) {
    		$db->add();
    		$this->success("添加成功","",2);
    	}else{
    		$this->error($db->getError(),"",2);
    	}   	

    }
}